package com.hl233.framework.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;
import org.springframework.data.mongodb.core.mapping.MongoId;

/**
 * @author 张振强15065206763
 * @create 2024-09-03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("info")
public class MongoInfo {

    @MongoId
    private Integer uid;
    @Field
    private String infoName;
    @Field
    private String context;
    @Field
    private String remark;
    @Field
    private Integer val;
}
